package com.lcf.system.query;

import com.lcf.framework.query.PageQuery;
import com.lcf.system.entity.GoodsComment;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商品评价(GoodsComment)表实体类
 *
 * @author lcf
 * @since 2025-04-24 21:14:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class GoodsCommentPageQuery extends PageQuery<GoodsComment> {
    //商品id
    @Schema(description = "商品id")
    @NotNull(message = "商品id不能为空")
    private Long goodsId;
}

